package net.huashitong.ssydt.provider.article.service;


import net.huashitong.ssydt.article.entity.SsArticlePraiseRecord;

/**
 * @author <a href="mailto:yhy23456@163.com">huiyang.yu</a>
 * @since 2017.09.22
 */
public interface SsArticlePraiseRecordService {

    int deleteByPrimaryKey(Long id);

    int insert(SsArticlePraiseRecord record);

    int insertSelective(SsArticlePraiseRecord record);

    SsArticlePraiseRecord selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SsArticlePraiseRecord record);

    int updateByPrimaryKey(SsArticlePraiseRecord record);

    SsArticlePraiseRecord getByUserIdWithArticleId(String userId, Long articleId);
}
